package com.cloudkinto.vo.user;


import com.cloudkinto.vo.company.CompanyPageVo;
import com.cloudkinto.vo.warehouse.WarehouseRes;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class UserPageVo {
    private Long id;
    @ApiModelProperty("姓名")
    private String userName;
    @ApiModelProperty("账号")
    private String userAccount;
    private Long roleId;
    @ApiModelProperty("角色")
    private String roleName;
    @ApiModelProperty("邮箱")
    private String userMail;
    @ApiModelProperty("电话")
    private String userPhone;
    @ApiModelProperty("用户状态 0未审核 1通过 2禁用")
    private Integer userStatus;
    @ApiModelProperty("0 客户全部可见 1部分可见")
    private Integer whiteCus;
    @ApiModelProperty("可见客户数量")
    private Integer customerCount;

    private String updateByName;

    private Date updateTime;
    @ApiModelProperty("可见客户列表")
    private List<CompanyPageVo> cusList;
    @ApiModelProperty("0 仓库全部可见 1手动选择")
    private int whiteWh;

    @ApiModelProperty("可见仓库id")//todo
    private List<WarehouseRes> whList;
}
